package com.sikaryofficial.backend.domain.mapping;

import com.sikaryofficial.backend.domain.entity.ActivityAttendRec;
import com.sikaryofficial.backend.domain.vo.export.ActivityAttendExportVO;
import com.sikaryofficial.backend.domain.vo.export.UserDailyExportVO;
import com.sikaryofficial.backend.domain.vo.export.UserRegisterExportVO;
import com.sikaryofficial.system.api.model.user.UserDailyDTO;
import com.sikaryofficial.system.api.model.user.UserRegisterDTO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * @author : qinjinyuan
 * @desc : 用户报表实体映射
 * @date : 2023/11/03 9:19
 */
@Mapper
public interface UserReportMapping {
    UserReportMapping INSTANCE = Mappers.getMapper(UserReportMapping.class);

    List<UserDailyExportVO> coverToDailyVOList(List<UserDailyDTO> userDailyDTOs);

    List<UserRegisterExportVO> coverToRegisterVOList(List<UserRegisterDTO> userDailyDTOs);

    List<ActivityAttendExportVO> coverToActivityAttendList(List<ActivityAttendRec> userDailyDTOs);

}
